import * as types from './types'
const mutations = {
  [types.TABLINE_MSG](state, msg) {
    state.tabLineMsg = msg;
  },
  [types.STOCKINDEX_MSG](state, msg) {
    state.stockIndexMsg = msg;
  },
  [types.TABBAR_MSG](state, msg) {
    state.tabBarMsg = msg;
  },
  [types.SCROLL_HEIGHT](state, height) {
    state.longPageScro = height;
  },
  [types.SET_LOADING](state, loadState) {
    state.loadingState = loadState
  },
  [types.SET_ERROR](state, errorState) {
    state.errorState = errorState
  },
  [types.CHANGE_TRANSIT_STATE](state, progress) {
    state.transitProgress = progress
  }
};

export default mutations
